//
//  URLConstants.h
//  OilUnion
//
//  Created by itte on 2016/11/10.
//  Copyright © 2016年 funmain. All rights reserved.
//

#ifndef URLConstants_h
#define URLConstants_h

// online
#define kBaseURL                     @"http://47.94.175.92:81/api/"
// test
//#define kBaseURL                   @"http://120.25.212.193:8010/"



#pragma mark - 短信验证
#define KGetCheckCode                    @"getCode"
#define KSendPINToMail                   @"Sms/SendEmail"
#define KCheckVersion                    @"Version/GetMinVersion"

#pragma mark - 登录注册相关
#define KLogin                           @"user/login"
#define KRegister                        @"vehicle/fast-create"
#define KChangeDevice                    @"vehicle/equipment-replace"

#pragma mark - 设置相关
#define KModifyPwd                       @"account/change-pwd"
#define KFindPwd                         @"account/findback-pwd"
#define KResetPwd                        @"account/change-pwd"
#define KFeedBack                        @"FeedBack/add"
#define KSetSensitivity                  @"vehicle/sensitivity-set"
#define KSetMileage                      @"vehicle/distance-set"
#define KSetOverSpeed                    @"vehicle/maxspeed-set"
#define KGetParamData                    @"vehicle/param"
#define KGetCarControlData               @"vehicle/control-info"
#define KSendCMD                         @"cmd/send"
#define KSendCMDAreaEnable               @"vehicle/area-enable"
#define KGetTipPhoneList                 @"noticeCenter/list"
#define KModifyTipPhone                  @"noticeCenter/update"
#define KAddTipPhone                     @"noticeCenter/create"
#define KDeleteTipPhone                  @"noticeCenter/delete"


#pragma mark - 农场信息
#define KGetFarmsInfo                    @"farms"
#define KGetHomeInfo                     @"home"
#define KGetAllVehicleBaseData           @"vehicle/option"
#define KGetMaintenanceInfo              @"vehicle/maintenance-info"
#define KSetMaintenanceInterval          @"vehicle/maintenance-set"
#define KSetPremaintenance               @"vehicle/premaintenance-set"
#define KGetMileageInfo                  @"vehicle/distance-info"
#define KGetLastLocation                 @"position/last"
#define KGetTraceHistory                 @"position/history"
#define KGetTraceRecord                  @"position/trip-record"
#define KGetAllCarType                   @"vehicle/brand"

#pragma mark - ODB相关
#define KGetODBInfo                      @"obd/obdData-Status"
#define KGetODBDayInfo                   @"obd/statistic-day"
#define KGetODBWeekInfo                  @"obd/statistic-week"
#define KGetODBMonthInfo                 @"Report/OBDReport"

#pragma mark - 区域数据
#define KGetEreaList                     @"area/list"
#define KSetGeofenceEnable               @"area/enable"
#define KAddGeofence                     @"area/create"
#define KDeleteGeofence                  @"area/delete"

#pragma mark - 消息
#define KGetMessageTypeAndData           @"vehicle/prompt-info"
#define KGetAlarmMessage                 @"Alarm/AlarmMsg"
#define KSetMessageType                  @"vehicle/prompt-set"
#define KGetBannerImage                  @"home/image"

#endif
